﻿using System;

namespace Codeflows.Results
{
    public class PausedResult : Result
    {
        public PausedResult(string name)            
        {
            if (string.IsNullOrWhiteSpace(name)) throw new ArgumentException("name is required.");
            ResumeActionName = name;
        }

        public string ResumeActionName { get; private set; }
    }
}
